package com.big.es.service;

import com.big.model.model.es.MerchandiseEsVo;
import com.big.model.model.merchandise.MerchandiseDetail;
import com.big.model.vo.merchandise.MerchanParams;
import com.big.model.vo.merchandise.MerchanQueryVO;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.*;


public interface ProductService {

    /**
     * 先匹配父关键,如果没有进行子关键
    */


    /**
     * 搜索引擎模糊查询
     */
    //关键字



    List<MerchandiseEsVo> keyInfos(String search) throws IOException;


    /**
     * 搜索替代Mysql数据库，商品的描述列表
     */
    List<MerchandiseDetail>MerchandiseDetailESInfos(Long page, Long size, MerchanParams merchanParams) throws IOException;


}
